package com.edu.bean;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

public class Employee {
    private Integer eId;

    private String eName;

    private Integer pId;

    private Date date;

    private BigDecimal salary;

    private Integer mgrPid;

    private Integer dId;

    private Employee manager;

    public Employee getManager() {
        return manager;
    }

    public void setManager(Employee manager) {
        this.manager = manager;
    }

    public Integer geteId() {
        return eId;
    }

    public void seteId(Integer eId) {
        this.eId = eId;
    }

    public String geteName() {
        return eName;
    }

    public void seteName(String eName) {
        this.eName = eName;
    }

    public Integer getpId() {
        return pId;
    }

    public void setpId(Integer pId) {
        this.pId = pId;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public BigDecimal getSalary() {
        return salary;
    }

    public void setSalary(BigDecimal salary) {
        this.salary = salary;
    }

    public Integer getMgrPid() {
        return mgrPid;
    }

    public void setMgrPid(Integer mgrPid) {
        this.mgrPid = mgrPid;
    }

    public Integer getdId() {
        return dId;
    }

    public void setdId(Integer dId) {
        this.dId = dId;
    }

    @Override
    public String toString() {
        return "Employee{" +
                "eId=" + eId +
                ", eName='" + eName + '\'' +
                ", pId=" + pId +
                ", date=" + date +
                ", salary=" + salary +
                ", mgrPid=" + mgrPid +
                ", dId=" + dId +
                ", manager=" + manager +
                '}';
    }
}